home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3w / fmchrwid.z / fmchrwid
Encoding:
Text File  |  2002-10-03  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. FFFFMMMMGGGGEEEETTTTCCCCHHHHRRRRWWWWIIIIDDDDTTTTHHHH((((3333WWWW))))                                            FFFFMMMMGGGGEEEETTTTCCCCHHHHRRRRWWWWIIIIDDDDTTTTHHHH((((3333WWWW))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      fmgetchrwidth - return the width of a character
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ffffmmmmcccclllliiiieeeennnntttt....hhhh>>>>
  13.  
  14.      lllloooonnnngggg ffffmmmmggggeeeettttcccchhhhrrrrwwwwiiiiddddtttthhhh((((ffffhhhh,,,, cccchhhh))))
  15.      ffffmmmmffffoooonnnntttthhhhaaaannnnddddlllleeee ffffhhhh;;;;
  16.      uuuunnnnssssiiiiggggnnnneeeedddd cccchhhhaaaarrrr cccchhhh;;;;
  17.  
  18. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.      _f_m_g_e_t_c_h_r_w_i_d_t_h returns the number of pixels (in the x dimension) by which
  20.      the current character position moves when you image the specified
  21.      character. This value is rounded to an integer (for some fonts,
  22.      characters can have subpixel dimensions).  If the specified character
  23.      glyph does not exist, the width of a space is returned.  If a space does
  24.      not exist, the width of the font is returned.
  25.  
  26. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  27.      fminit(3W)
  28.  
  29. NNNNOOOOTTTTEEEE
  30.      This routine is available only in immediate mode.
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.